* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
    /* Removed display: flex, min-height: 100vh, and other layout styles to avoid affecting the footer */
}

.main-container {
    width: 100%; /* Full width of the screen */
    margin: 0; /* Remove margin to stretch to edges */
    padding: 20px 15px; /* Add padding for content spacing */
    background-color: #f5f5f5; /* Match the body background to remove card effect */
}

.content-wrapper {
    max-width: 1200px; /* Max width for content readability */
    margin: 0 auto; /* Center the content */
}

.job-header {
    margin-bottom: 20px;
}

#jobTitle {
    font-size: 28px;
    color: #2c3e50;
    line-height: 36px;
}

#jobLocation {
    color: #7f8c8d;
    font-size: 14px;
    margin-top: 5px;
}

.job-actions {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.btn-apply {
    background-color: #6f42c1;
    color: #fff;
}

.btn-apply:hover {
    background-color: #5a32a3;
}

.btn-save {
    background-color: #fff;
    color: #6f42c1;
    border: 1px solid #6f42c1;
}

.btn-save:hover {
    background-color: #f8f9fa;
}

.share-link {
    margin-left: auto;
    color: #6f42c1;
    font-size: 14px;
    text-decoration: none;
}

.job-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #7f8c8d;
    row-gap: 24px;
}

.detail-item {
    /* No additional styles like text-align: center */
}

.detail-label {
    display: block;
    color: #2c3e50;
    font-weight: bold;
}

.overview-section {
    /* No additional styles like margin-bottom */
}

#overviewTitle {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 10px;
}

#overviewPara1,
#overviewPara2 {
    font-size: 14px;
    margin-bottom: 15px;
}

#responsibilitiesList {
    list-style-type: disc;
    padding-left: 20px;
    font-size: 14px;
    margin-bottom: 15px;
}

#responsibilitiesList li {
    margin-bottom: 10px;
}

/* Modal Styles (unchanged) */
.application-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
}

#modalTitle {
    font-size: 20px;
    margin-bottom: 20px;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-label {
    font-size: 14px;
    color: #2c3e50;
    text-align: left;
}

.form-input,
.form-textarea {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    width: 100%;
    pointer-events: auto;
    cursor: text;
}

.form-input:focus,
.form-textarea:focus {
    border-color: #6f42c1;
    outline: none;
    box-shadow: 0 0 5px rgba(111, 66, 193, 0.3);
}

.form-textarea {
    resize: vertical;
    height: 100px;
}

.submit-btn {
    background-color: #19c0ff;
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.submit-btn:hover {
    background-color: #5a32a3;
}

/* Responsive Design */
@media (max-width: 600px) {
    .main-container {
        padding: 15px 10px;
    }

    #jobTitle {
        font-size: 24px;
    }

    .job-actions {
        flex-direction: column;
        gap: 5px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .share-link {
        margin-left: 0;
        text-align: center;
    }

    .job-details {
        grid-template-columns: 1fr;
    }
    #overviewPara1,
#overviewPara2 {
    font-size: 13px;
}
}